package com.hu.auth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hu.auth.model.User;
import com.hu.auth.model.po.UserAddPo;
import com.hu.auth.model.po.UserPo;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {

    Page<User> list(int page, int limit, UserPo po);

    List<String> getUserPerms(Long id);

    void add(UserAddPo po);

    Map<String, Object> info(Long id);

}
